package Jcat.cduestcbbs.Dao;

import java.sql.SQLException;
import java.util.List;

import Jcat.cduestcbbs.Po.FriendPo;
import Jcat.cduestcbbs.Po.UserPo;

public interface FriendDao {
	boolean insertFriend(FriendPo friend,UserPo user) throws SQLException;

	boolean deleteFriend(FriendPo friend) throws SQLException;
	
	boolean selectFriendByCurrentUser(FriendPo friend, UserPo user) throws SQLException;

	List<FriendPo> frindQuery() throws SQLException;

}
